<style>
    #upper
    {
    border: 8px dashed black;
    margin-bottom: 80px;
    }
    #lower
    {
    border: 12px double yellow;
    margin-top: 40px;
    }
</style>
<h1 id="upper"> Heading on top element </h1>
<h1 id="lower"> Heading on bottom element </h1>